.container {
    padding-bottom: 55px;
    padding-top: 46px;
}


/*头部操作栏*/
#op_header{
    border-bottom: 1px solid #D9D9D9;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0px;
    height: 45px;
    z-index: 2;
}

#op_header #header_title {
    display: inline-block;
    height: 45px;
    position: absolute;
    left: 45px;
    text-align: center;
    line-height: 45px;
    right: 45px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px 10px;
}

#op_header #return_icon {
    display: inline-block;
    height: 45px;
    width: 45px;
    /* margin: 5px; */
    /* padding: 5px 5px; */
    position: relative;
}

#op_header #return_icon img{
    height: 25px;
    width: 25px;
    position: absolute;
    left: 10px;
    top: 10px;
}


#op_header #go_index {
    display: inline-block;
    position: absolute;
    right: 0px;
    height: 45px;
    width: 45px;
}

#op_header #go_index img {
    height: 25px;
    width: 25px;
    position: absolute;
    left: 10px;
    top: 10px;
}


/*热卖商品*/
#sale-hot-container {
    /*margin-bottom: 55px;*/
}

#sale-hot-container .title {
    color: #888;
    height: 30px;
    line-height: 30px;
    font-size: 17px;
    /*width: 98%;*/
    /*margin-left: 1%;*/
    margin: 0px 4px 4px 0px;
    border-bottom: 1px solid #D0D0D0;
}

#sale-hot-container .product-item {
    /* width: 100%; */
    position: relative;
    margin-top: 5px;
    display: flex;
    /* margin: 0px 4px; */
    margin-top: 5px;
    margin: 4px 2px 0px 2px;
}

#sale-hot-container .product-item .product-cell {
    width: 33.3333%;
    display: inline-block;
}

#sale-hot-container .product-item .product-cell .product-inner {
    border: 1px solid #D0D0D0;
    margin: 0px 2px;
    background-color: white;
}


#sale-hot-container .product-item .product-cell .product-img {
    position: relative;
    /*left: 1%;*/
    /*设置容器宽高比为1：1*/
    height: 0px;
    padding-bottom: 100%;
    /*width: 116px;*/
    /*height: 116px;*/
}

#sale-hot-container .product-item .product-cell .product-img .product_img_href {
    display: block;
    /*width: 96%;*/
    margin: 0 2px;
}

#sale-hot-container .product-item .product-cell .product-img img {
    width: 100%;
    border-radius: 5px;
    /*	    border-width: 1px;
            border-style: solid;
            border-color: red;*/
}

#sale-hot-container .product-item .product-cell .product-title {
    font-size: 13px;
    line-height: 17px;
    overflow: hidden;
    margin-top: 12px;
    color: #333;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 34px;
    /*padding-left: 2%;*/
    margin: 0px 2px;
}

#sale-hot-container .product-item .product-cell .product-sale {
    height: 30px;
    margin: 0 2px;
    display: flex;
}

#sale-hot-container .product-item .product-cell .product-sale .price {
    width: 50%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #ff6800;
    overflow: hidden;
    display: block;
}

#sale-hot-container .product-item .product-cell .product-sale .cart {
    width: 50%;
    text-align: right;
    display: block;
}

#sale-hot-container .product-item .product-cell .product-sale .cart img {
    height: 30px;
}


/*悬浮购物车*/
.shopping_cart {
    position: fixed;
    /* height: 50px; */
    /* width: 50px; */
    display: block;
    bottom: 20px;
    right: 20px;
}

.shopping_cart img {
    height: 50px;
    width: 50px;
}

.shopping_cart .icon_container {
    position: relative;
    display: block;
}

.shopping_cart .icon_container .product_number {
    width: 20px;
    height: 20px;
    background: #E04848;
    position: absolute;
    right: 2px;
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    top: 0px;
    color: white;
    font-size: 10px;
    right: -5px;
}





/*购物车*/
#shoppingcart-container {
    position: fixed;
    top: 0px;
    z-index: 3;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

#shoppingcart-container .product-info {
    max-height: 300px;
    /*background-color: rgb(245, 245, 245);*/
    position: absolute;
    bottom: 50px;
    width: 100%;
    /*border-style: solid;*/
    /*border-width: 1px;*/
    /*border-color: #c7c7c7;*/
    /*border-radius: 2px;*/
}

#shoppingcart-container .product-info .product-head {
    position: relative;
    height: 50px;
}

#shoppingcart-container .product-info .product-head img{
    height: 50px;
    width: 50px;
}

#shoppingcart-container .product-info .product-head .shopping-cart {
    display: inline-block;
    margin-right: 5px;
    position: absolute;
    right: 0px;
}

#shoppingcart-container .product-info .product-head .product-number {
    width: 20px;
    height: 20px;
    background: #E04848;
    position: absolute;
    right: 2px;
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 10px;
    top: -4px;
}


#shoppingcart-container .product-info #inner-op {
    max-height: 260px;
    overflow: auto;
    background-color: white;
    border-radius: 2px;
}


#shoppingcart-container .product-info .product-cell {
    height: 50px;
    width: 96%;
    background-color: white;
    /* margin: 0 auto; */
    border-bottom: 1px solid #d5d5d6;
    position: relative;
    margin: 0px auto;
}

#shoppingcart-container .product-info .product-cell .title {
    font-size: 14px;
    height: 50px;
    width: 45%;
    line-height: 50px;
    color: #333;
    display: inline-block;
    margin-left: 5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

#shoppingcart-container .product-info .product-cell .price {
    font-size: 15px;
    height: 50px;
    width: 20%;
    line-height: 50px;
    color: rgb(255, 98, 97);
    position: absolute;
    top: 0px;
    left: 48%;
}

#shoppingcart-container .product-info .product-cell .number-update {
    display: inline-block;
    height: 50px;
    position: absolute;
    width: 30%;
    left: 69%;
    text-align: center;
}

#shoppingcart-container .product-info .product-cell .number-update .reduce img {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 10px;
    left: 5px;
}

#shoppingcart-container .product-info .product-cell .number-update .number {
    height: 40px;
    width: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    margin-top: 5px;
}

#shoppingcart-container .product-info .product-cell .number-update .add img {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 10px;
    right: 5px;
}


#shoppingcart-container .pay-container {
    height: 50px;
    position: fixed;
    bottom: 0px;
    width: 100%;
}

#shoppingcart-container .pay-container .paycost {
    width: 50%;
    height: 50px;
    background-color: #5a5a5a;
    position: absolute;
    top: 0px;
    color: white;
    line-height: 50px;
    padding-left: 5px;
    font-size: 20px;
}

#shoppingcart-container .pay-container .settlement {
    width: 50%;
    height: 50px;
    background-color: rgb(255, 98, 97);
    position: absolute;
    top: 0px;
    left: 50%;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    color: white;
}


/*促销活动页面*/

/*banner图*/
.banner_container {
    position: relative;
    width: 100%;
    height: 0px;
    padding-bottom: 35%;
}

.banner_container .banner_icon {
    position: absolute;
    width: 100%;
    height: 100%;
}

.banner_container .banner_icon img {
    width: 100%;
    height: 100%;
}